< previous page page_499 next page >

Page 499
9f8044bafea36a1f728739c0bb58ef4c.gif
3. What is the most common method you'll use in the Access object library?
9f8044bafea36a1f728739c0bb58ef4c.gif
The most common method in the Access object library you'll use is DoCmd.
9f8044bafea36a1f728739c0bb58ef4c.gif
4. What drives the Crystal Reports control?
9f8044bafea36a1f728739c0bb58ef4c.gif
Your Crystal Reports control is driven by its Crystal Report Engine.
9f8044bafea36a1f728739c0bb58ef4c.gif
5. What are the most popular Report Engine printing operations?
9f8044bafea36a1f728739c0bb58ef4c.gif
The most popular Report Engine printing operations include a single menu command that produces a single report, a dialog box with a list of several options for printing reports, or a separate component that your application uses.
9f8044bafea36a1f728739c0bb58ef4c.gif
6. What is the chief benefit of the ReportScheduler class?
9f8044bafea36a1f728739c0bb58ef4c.gif
Scheduling reports. Scheduling reports to be printed once at some future date and time or cyclically is not as involved as giving users ad hoc reporting abilities. It involves capturing the date and time from the user, saving it to a database, the Registry, or a text file, and continuously checking for the designated date and/or time. After the date and time have arrived, print the report. For this task, it is good to have a controller class called ReportScheduler and a form controlled by this class that has a timer control.
9f8044bafea36a1f728739c0bb58ef4c.gif
7. How does the Timer control and the ReportScheduler class members help the overall ReportScheduler class fulfill its responsibilities?
9f8044bafea36a1f728739c0bb58ef4c.gif
The private properties, ReportDate and ReportTime, respectively, contain the date and time the report is to be printed. The property, theForm, is a reference to the form, frmScheduledReports, which has a Timer control, a list box, or grid control to inform the user of the scheduled reports, and a command button, cmdCancelReport, that allows a user to cancel a scheduled report. The user would have to select a report first. The property, theTimer, is a reference to the Timer control on the form. The WithEvents keyword allows you to maintain the code for the timer's single event, Timer, within the class instead of in the form.
Day 17
9f8044bafea36a1f728739c0bb58ef4c.gif
1. What are the three kinds of file management discussed in this chapter?
9f8044bafea36a1f728739c0bb58ef4c.gif
Random File Management, Sequential File Management, Binary File Management.
9f8044bafea36a1f728739c0bb58ef4c.gif
2. What is the purpose of the Get statement for random access files?
9f8044bafea36a1f728739c0bb58ef4c.gif
The Get statement uses iFileNumber to open a file and assign it the number contained in the variable.

 
< previous page page_499 next page >

If you like this book, buy it!